#!D:/CODE/python
# -*- coding: utf-8 -*-
# @Time : 2020/5/30 22:40
# @Author : Alexdong
# @Site : 
# @File : 名字重整.py
# @Software: PyCharm
# Functional description:私有属性会 python会自己把私有变量的名字改了

class Test(object):
    def __init__(self, name):
        self.__name = name

a = Test("laowang")
# print(a.__name)
print(a.__dict__)
print(a._Test__name)